<#import "spring.ftl" as spring />
<title>Edit city</title>

<form method="POST" action="update.html">
	<@spring.formHiddenInput "city.id"/>
	<@spring.formHiddenInput "city.countryCode"/>
	<table>
		<tr>
			<td>Name</td>
			<td><@spring.formInput "city.name"/></td>
		</tr>
		<tr>
			<td>District</td>
			<td><@spring.formInput "city.district"/></td>
		</tr>
		<tr>
			<td>Population</td>
			<td><@spring.formInput "city.population"/></td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit" value="Update"/></td>
		</tr>
	</table>
</form>